package com.lecture.pojo;

/**
 * 视频信息封装
 */
public class FileInfo {
    private String name;

    //格式: 分钟:秒
    private String duration;

    //视频创建日期
    private String createTime;

    public FileInfo() {
    }

    public FileInfo(String name, String duration, String createTime) {
        this.name = name;
        this.duration = duration;
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "FileInfo{" +
                "name='" + name + '\'' +
                ", duration='" + duration + '\'' +
                ", createTime='" + createTime + '\'' +
                '}';
    }
}
